/*
[例2.1.1]
 求1*3*5*7*9*11
 */

#include<stdio.h>
int main()
{
	int n,m;
	printf("输入相乘的个数m:");
	scanf("%d",&m);
	int i = 1,s = 1;
	for(n = 1;n <= m;n++)
    {
		s = s*i;
		i = i+2;
	}
	printf("输出m(%d)个数相乘1*3*5*...*%d*%d的值：",m,i-2,i);
	printf("s = %d\n",s);
}

